<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>xss-01 index</title>
</head>
<body>
<span>[(${info})]</span>
<script charset="utf-8" th:src="@{/js/jquery-3.6.0.min.js}"></script>
<script>

    $(function () {

        document.cookie = "name=123";

        var cookie1 = document.cookie;

        console.log(cookie1);

    });


</script>
</body>
</html>